from DataManagement.models import DataCenterModel
from gxdm.models import *
from django.db import models


class Gxxx0701(DataCenterModel):
    xgh = models.CharField(primary_key=True, max_length=32, verbose_name='学工号')
    yzbm = models.CharField(max_length=32, blank=True, null=True, verbose_name='邮政编码')
    txdz = models.CharField(max_length=128, blank=True, null=True, verbose_name='通信地址')
    bgdh = models.CharField(max_length=32, blank=True, null=True, verbose_name='办公电话')
    gddh = models.CharField(max_length=32, blank=True, null=True, verbose_name='固定电话')
    yddh = models.CharField(max_length=32, blank=True, null=True, verbose_name='移动电话')
    dh = models.CharField(max_length=32, blank=True, null=True, verbose_name='短号')
    czdh = models.CharField(max_length=32, blank=True, null=True, verbose_name='传真电话')
    dzxx = models.CharField(max_length=128, blank=True, null=True, verbose_name='电子信箱')
    wldz = models.CharField(max_length=32, blank=True, null=True, verbose_name='网络地址')
    qq = models.CharField(max_length=32, blank=True, null=True, verbose_name='QQ')
    wx = models.CharField(max_length=128, blank=True, null=True, verbose_name='微信')

    class Meta(DataCenterModel.Meta):
        db_table = 'gxxx0701'
        verbose_name = 'GXXX0701 个人通讯方式信息'
        verbose_name_plural = 'GXXX0701 个人通讯方式信息'
